<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./css/base1.css">
    <link rel="stylesheet" href="./css/person.css">
    <link rel="stylesheet" href="./css/cart.css">
    <title>购物车</title>
</head>
<body>
    <div id="hdd"></div>
    <div class="sphs">
        <h3 class="shop-addnum">全部商品&nbsp;&nbsp;<span>8</span></h3>
    </div>
    <div class="gouxuan">
        <div class="xuanze">
            <input type="checkbox" class="check" id="2">
            <label class="check-tab" for="2">全选</label>
        </div>
        <div class="shop-name">商品</div>
        <div class="jianjie">简介</div>
        <div class="danjia">单价</div>
        <div class="num">数量</div>
        <div class="xiaoji">小计</div>
        <div class="caozuo">操作</div>
    </div>









    
    
    
    
 <div class="zheng"> 
    <div class="tj">
        <div class="tj-f">
            <input type="checkbox" class="check" id="3">
            <label class="checkt" for="3">商品名称</label>
        </div>
    </div>

    <div class="tj-shop">
        <div class="gx">
            <input type="checkbox" class="check check4" id="4">
        </div>
        <div class="bao">
            <div class="spdj">
                <a class="sptup"><img src="" alt=""></a>
                <a class="sptuxq">这是我的商品详情</a>
            </div>
            <div class="size">
                <span class="shuzi">14英尺</span>
                <span class="yin">你你你 妮妮你的的的的的的的</span>
            </div>
            <div class="pri">19444</div>
            <div class="zeng">
                <div class="zeng-shang">
                    <button class="jiahao"><i>+</i></button>
                    <input type="text" class="tjia">
                    <button class="jianhao"><i>-</i></button>
                </div>
                <div class="zeng-xia">有货</div>
            </div>
            <div class="zj">29999</div>
            <div class="cz">
                <p>删除</p>
                <p>移入关注</p>
            </div>
        </div>
        </div>
    </div>
</div>  

  

 








<div class="short">
    <div class="xuan">
        <input type="checkbox" class="check" id="2">
        <label class="check-tab" for="2">全选</label>
    </div>
    <div class="shan">删除选中的商品</div>
    <div class="qing">清理购物车</div>
    <div class="yixuan">已选择&nbsp;<i>5</i>&nbsp;件商品</div>
    <div class="zongj">总计：</div>
    <p class="cost"><i>￥</i>8888</p>
    <div class="suan">去结算</div>
</div>








    <div id="we"></div>
</body>
<script src="./js/jquery2.2.4.js"></script>
<script >
    $('#hdd').load('http://localhost:3000/connect/header.html .hdd')
    $('#we').load('http://localhost:3000/connect/header.html .we');
    // $('#hdd').load('../www/connect/header.html .hdd')
    // $('#we').load('../www/connect/header.html .we');
</script>
<script src="./js/cart.js"></script>
<script>
      if(localStorage.getItem("isLogin") !== "ok"){
        alert("未登录状态，不允许打开购物车，请先登录")
        location.href = "./view.html"
    }
</script>
</html>
